#ifndef _CONSOLEWIDGET_H_
#define _CONSOLEWIDGET_H_
#include <SEUi/Widget/Widget.h>
#include <memory>


namespace SEngine
{
    struct LogWindow;
    class EditLayer;
    class Actor;
    class ConsoleWidget : public Widget
    {
    public:
        ConsoleWidget(EditLayer &);
        virtual ~ConsoleWidget();
        static LogWindow& GetLog();

    protected:
        virtual void BeginUpdate() override {}
        virtual void UpdateImpl(int delta) override;
        virtual void EndUpdate() override {}


    private:
        EditLayer & m_layer;
    };
} // namespace SEngine


#endif